/*
  Name: 5.1 practice
  Copyright: 
  Author: 
  Date: 
  Description: 
*/
#include <algorithm>
#include <cstdlib>
#include <iostream>
#include <string>
#include <vector>

using namespace std;

int main()
{                                                      
    cout << 12 / 3 * 4 + 5 * 15 + 24 % 4 / 2 << endl;
    cout << -30 * 3 + 21 / 5 << endl;
    cout << -30 + 3 * 21 / 5 << endl;
    cout << 30 / 3 * 21 % 5 << endl;
    cout << -30 / 3 *21 % 4 << endl;
    
    int user_input;
    cin >> user_input;
    
    if( user_input % 2 == 0)
        cout << user_input <<" is even" << endl;
    else
        cout << user_input << " is odd" << endl;
    system("pause");
    return EXIT_SUCCESS;
    
}


